import {
    BASE_URL
} from '../../config';
import {
    request
} from "../index";

const ACCOUNT_URL=BASE_URL+"/account";

export function login(data) {
    return request({
        url: ACCOUNT_URL + '/audience/login/miniApp/douyin',
        method: 'post',
        data,
        widthoutToken:true
    })
}



export function logout(){
    return request({
        url: ACCOUNT_URL + "/audience/logout/miniApp/douyin/completion",
        method: 'post'
    })
}

